From 2ec026c329313c5a6e86d869dd62dfa50dff2cb1 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 29 Nov 2000 13:57:10 +0000 Subject: [PATCH] (Fx_create_frame): Reintroduce the call to face-set-after-frame-defaults. --- src/xfns.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index 322b48c1179..65e917cf4c5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4315,6 +4315,13 @@ This function is an internal primitive--use `make-frame' instead.") SET_FRAME_WIDTH (f, 0); change_frame_size (f, height, width, 1, 0, 0); + /* Set up faces after all frame parameters are known. This call + also merges in face attributes specified for new frames. If we + don't do this, the `menu' face for instance won't have the right + colors, and the menu bar won't appear in the specified colors for + new frames. */ + call1 (Qface_set_after_frame_default, frame); + #ifdef USE_X_TOOLKIT /* Create the menu bar. */ if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) -- 2.30.2